<?php
/*
 * [JINYUN!] (C)2001-2099 Jinyunweb.com
 * This is NOT a freeware, use is subject to license terms
 * $Id: 2018-03-02 17:14:35 apple $
*/
namespace core;
defined('BY_JYA') or exit('error');
class openapi_web{
	public function up_access($access){
		if($access['c']=='site' && $access['a']=='entry'){
			$access['plugin']='core';
			$access['action']='module';
		}
		if($access['c']=='mc' && $access['a']=='fans'){
			$access['plugin']='core';
			$access['action']='wechat.fans';
		}
		if($access['c']=='mc' && $access['a']=='member'){
			$access['plugin']='core';
			$access['action']='member.member';
		}
		if($access['c']=='mc' && $access['a']=='member'){
			$access['plugin']='core';
			$access['action']='member.member';
		}
		if($access['a']=='display' && $access['action']=='module'){
			$access['plugin']='core';
			$access['action']='account.welcome';
		}
		return $access;
	}
}